package com.ty.paypal.core.request.body;

import java.io.Serializable;
import java.util.List;

import com.paypal.http.annotations.Model;
import com.paypal.http.annotations.SerializedName;
import com.ty.paypal.core.d.BillingCycles;
import com.ty.paypal.core.d.PaymentPreferences;
import com.ty.paypal.core.d.Taxes;

import lombok.Data;

/**
* @author ty
* @createDate 创建时间：2020年2月22日 下午3:42:25
**/
@Model
@Data
public class PlanRequest implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@SerializedName("product_id")
	String productId;
	
	@SerializedName("name")
	String name;
	
	@SerializedName("description")
	String description;
	
	@SerializedName(value = "billing_cycles", listClass = BillingCycles.class) 
	private List<BillingCycles> billingCycles;
	
	@SerializedName("payment_preferences")
	private PaymentPreferences paymentPreferences;
	
	@SerializedName("taxes")
	private Taxes taxes;
}